package com.advert.model.support;

import com.advert.util.Sortable;

import javax.persistence.*;

@Entity
@Table(name = "s_vehicle_brand")
@NamedQueries(
@NamedQuery(name = "VehicleBrandEntity.getAll", query = "select vb from VehicleBrandEntity vb")
)
public class VehicleBrandEntity implements Sortable {
    @Id
    @Column(name = "id", insertable = false, updatable = false)
    private Integer id;

    @Column(name = "name", insertable = false, updatable = false)
    private String name;

    @Column(name = "type_cd", insertable = false, updatable = false)
    private String typeCode;

    
    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getTypeCode() {
        return typeCode;
    }
    

    public String getSortingValue() {
        return name;
    }
}
